package com.yunao.commons.serachcore.core;

import com.yunao.commons.serachcore.core.bean.*;
import com.yunao.commons.serachcore.core.exception.SearchException;
import com.yunao.commons.serachcore.core.query.Query;

public interface Isearch {
	
	Long count(Query query) throws SearchException;

	Articles query(Query query) throws SearchException;

	Groups group(Query query) throws SearchException;

	Cubes cube(Query query) throws SearchException;

	Wordclouds wordcloud(Query query) throws SearchException;

	Wordrelations wordrelation(Query query) throws SearchException;

	Clusters cluster(Query query) throws SearchException;

	Articles distinct(Query query) throws SearchException;

}
